import instance from './client'

// 对应后端的Login接口
export const LOGOUT = (username) => {
  // baseURL: 'http://192.168.95.134:8800/',
  return instance.delete(`/vblog/api/v1/users/logout?username=${username}`, {
    headers: { 'Content-Type': 'application/json' }
  })
}
